gsk: Consolidate program creation and storage
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 4 Jul 2016 12:46:22 +0000 (13:46 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:49:07 +0000 (11:49 +0100)
commit4cda720ab993c5935694086cecf6fca83a8ecdf2
tree2baaf747fcf2d9842f26890ccf6b07b22ae32445
parent43974761bb276b09acd60d29fb93cdadcd1197c8
gsk: Consolidate program creation and storage

We should use ShaderBuilder to create and store programs for the GL
renderer. This allows us to simplify the creation of programs (by moving
the compilation phase into the ShaderBuilder::create_program() method),
and move towards the ability to create multiple programs and just keep a
reference to the program id.
gsk/gskglrenderer.c
gsk/gskshaderbuilder.c
gsk/gskshaderbuilderprivate.h